package com.dapeis.domain.ext;

import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;

import com.dapeis.domain.User;
import com.dapeis.domain.UserInformation;

public class UserExt extends User {

    @OneToOne
    @JoinColumn(name = "infoId")
    UserInformation userInformation;

    public UserInformation getUserInformation() {
	return userInformation;
    }

    public void setUserInformation(UserInformation userInformation) {
	this.userInformation = userInformation;
    }

}
